package com.czwx.bee.business.manager.modular.borrow.service.impl;


import com.czwx.bee.business.manager.modular.borrow.dto.BorrowDto;
import com.czwx.bee.business.manager.modular.borrow.mapper.BorrowDao;
import com.czwx.bee.business.manager.modular.borrow.model.Borrow;
import com.czwx.bee.business.manager.modular.borrow.service.BorrowService;
import org.beetl.sql.core.SQLManager;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class BorrowServiceImpl implements BorrowService {

    @Autowired
    private BorrowDao borrowDao;

    @Autowired
    private SQLManager sqlManager;


    @Override
    public Long insert(Borrow borrow) {
        return null;
    }

    @Override
    public Boolean update(Borrow borrow) {
        return null;
    }

    @Override
    public Boolean del(Borrow borrow) {
        return null;
    }

    @Override
    public Borrow getById(Long id) {
        return null;
    }

    @Override
    public List<Borrow> getList(Map map) {
        return null;
    }

    @Override
    public void getPageList(PageQuery query) {
        sqlManager.pageQuery("borrow.Borrow.pageQuery",BorrowDto.class,query);
    }

    @Override
    public Long getCount(Borrow borrow) {
        return null;
    }

    @Override
    public Borrow getBySelf(Borrow borrow) {
        return null;
    }

    @Override
    public Long saveOrUpdate(Borrow borrow) {
        return null;
    }
}
